/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WhetherAccruedEnum extends StringEnum
{
    public static final String UNACCRUE_VALUE = "10";
    public static final String ACCRUED_VALUE = "20";

    public static final WhetherAccruedEnum unAccrue = new WhetherAccruedEnum("unAccrue", UNACCRUE_VALUE);
    public static final WhetherAccruedEnum accrued = new WhetherAccruedEnum("accrued", ACCRUED_VALUE);

    /**
     * construct function
     * @param String whetherAccruedEnum
     */
    private WhetherAccruedEnum(String name, String whetherAccruedEnum)
    {
        super(name, whetherAccruedEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WhetherAccruedEnum getEnum(String whetherAccruedEnum)
    {
        return (WhetherAccruedEnum)getEnum(WhetherAccruedEnum.class, whetherAccruedEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WhetherAccruedEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WhetherAccruedEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WhetherAccruedEnum.class);
    }
}